/* index.css */
html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
}

.border-container {
    position: relative;
    width: 100%; /* 设置宽度 */
    height: 100%; /* 设置高度为视口高度的80% */
    border: 1px solid #4138bd;
    background: #040f3c;
    border-radius: 0.5vw;
    display: flex;
    flex-direction: column;
}

.name-title {
    padding: 0.5vw 1vw;
    border-bottom-right-radius: 6px;
    border-bottom-left-radius: 6px;
    position: relative; /* 修改为相对定位 */
    z-index: 10;
    text-align: center;
    background-color: #040f3c; /* 明确设置背景颜色 */
    color: #68d8fe;
    font-size: 2vw;
}

.tile-size-color {
    font-size: 2vw;
    color: #68d8fe;
}

.graduateyear {
    flex-grow: 1; /* 让图表部分占据剩余空间 */
    display: flex;
    justify-content: center;
    align-items: center;
}

#barChart {
    width: 100%;
    height: 100%;
}